import {
	http
} from '@/service/index.js'
import store from '@/store/index.js'
import configs from '@/config/index.js'


export const spinWinList = async (data, config = {}) => {
	return await http.get(`/game/spinwin/list`, data, config)
}

export const spinWinDetail = async (data, config = {}) => {
	return await http.get(`/game/spinwin/spinWinDetail`, data, config)
}

export const spinWinAccountDetail = async (data, config = {}) => {
	return await http.get(`/game/spinwin/spinWinAccountDetail`, data, config)
}

export const luckyDraw = async (data) => {
	return await http.post(`/game/spinwin/luckyDraw`, data)
}

export const setSpinWinAwardAddress = async (data) => {
	return await http.post(`/personal/center/award/setSpinWinAwardAddress`, data)
}

export const spinWinAwardListPage = async (data, config = {}) => {
	return await http.get(`/personal/center/award//spinWinAwardListPage`, data)
}

export const spinWinAwardDetail = async (data, config = {}) => {
	return await http.get(`/personal/center/award/spinWinAwardDetail`, data, config)
}
